error on winsocket

This is a discussion on error on winsocket within the Windows Programming forums, part of the Platform Specific Boards category; hjello, i have a problem on winsock programming... i am using vb6. this is my dilema.. i have a program ...

  1. #1
    Registered User lliero's Avatar
    Join Date
    Oct 2001
    Posts
    59

    Unhappy error on winsocket

    hjello,


    i have a problem on winsock programming...

    i am using vb6. this is my dilema..


    i have a program <client/ server > which sends data to another computer via network <tcp/ip protocol>. i can shut down the computer,restart the computer, and also chat with user over the network.. thats fine.. but when i restart my computer and connect again to the server, i cannot connect.. why is this? can anyone help me pleaze?....

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Well first you could try posting on a VB forum instead of a C/C++ one...

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

    Re: error on winsocket

    Originally posted by lliero
    hjello,


    i have a problem on winsock programming...

    i am using vb6. this is my dilema..


    i have a program <client/ server > which sends data to another computer via network <tcp/ip protocol>. i can shut down the computer,restart the computer, and also chat with user over the network.. thats fine.. but when i restart my computer and connect again to the server, i cannot connect.. why is this? can anyone help me pleaze?....
    Your server will probably call listen() and then accept when the client connects....I guess that after your client disconnects, there is no mechanism for the server to go back to listen()

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. winsocket books
    By datainjector in forum Windows Programming
    Replies: 2
    Last Post: 11-01-2002, 11:06 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21