Search:

Type: Posts; User: why_so_serious

Search: Search took 0.00 seconds.

  1. receive data from c client socket program in linux

    Hi everyone, I wrote c client socket program in Linux and c# server program in window. I want to send text from client to server. I can send from c client program by using write() function. But I...
  2. Address family not supported by protocol in C socket programming in linux

    Hi everyone, I am writing on C simple socket programs in Linux. I wrote client and server C programs. My client program is

    #include<sys/socket.h>//for socket(), connect(), sendto() and recvform()...
  3. Replies
    20
    Views
    5,714

    Now I got an error that "Address family not...

    Now I got an error that "Address family not supported by protocol" when I run client program.
  4. Replies
    20
    Views
    5,714

    I wrote c server program in Linux and tried my...

    I wrote c server program in Linux and tried my client program. my server is ok but my client still gives me connection refused. Even though I changed new port number, still the same.
  5. Replies
    20
    Views
    5,714

    why u had unreadable mess? I really pasted as...

    why u had unreadable mess? I really pasted as text when I pasted it. So in my side, everything is fine.
  6. Replies
    20
    Views
    5,714

    now my server program is namespace ...

    now my server program is

    namespace
    server_window

    {


    public partial class Form1 : Form
  7. Replies
    20
    Views
    5,714

    Hi I am using perror as you said. I started to...

    Hi I am using perror as you said. I started to run my server program from window and run client program in Linux. At that time, the terminal showed Cannot connect : connection refused. Why is it so?
  8. Replies
    20
    Views
    5,714

    Hi thanks for your answer. Now I changed my...

    Hi thanks for your answer. Now I changed my program a little bit. I just wanna test whether it can connect or not.
    my program is

    #include
    <sys/socket.h> //for socket(), connect(), sendto()...
  9. Replies
    20
    Views
    5,714

    Hi thanks for your answer. I had checked my...

    Hi thanks for your answer. I had checked my firewall settings. It was off.
  10. Replies
    20
    Views
    5,714

    I used telent now. I type telnet myclientip 1234...

    I used telent now. I type telnet myclientip 1234 . it showed that connecting to myclientip.. could not open to the host, on port 1234: Connect failed.. means I cannot use that port no.. ???
  11. Replies
    20
    Views
    5,714

    I used teraterm to check whether the port is ok...

    I used teraterm to check whether the port is ok or not. But it showed connection refused... :(
  12. Replies
    20
    Views
    5,714

    I cannot make connection. I run my server first...

    I cannot make connection. I run my server first and later client. At that time client program prompt that cannot connect. so that's y
  13. Replies
    20
    Views
    5,714

    my understanding is that SOCK_STREAM is for TCP....

    my understanding is that SOCK_STREAM is for TCP. 0 is just default right?
  14. Replies
    20
    Views
    5,714

    I had used ping to each IP address. So there is...

    I had used ping to each IP address. So there is connection between them. And I used
    serv_addr.sin_port = htons(SERVERPORT);
    which is port no 1234.

    so sorry to delete unused code.
  15. Replies
    20
    Views
    5,714

    socket programming cannot connect

    Hi everyone, I am writing client C socket program in Linux and server C# socket
    program in window. I am also running these 2 programs in different PCs. When I
    run client program it shows that...
Results 1 to 15 of 15