Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select failure

Status
Not open for further replies.

BigDaz

Technical User
Jan 14, 2002
39
GB
hello,

in my program i had a function for Connecting, one for Sending, one for Receiving and one for Disconnecting. these were all in the main.cpp file. i moved these functions into their own class but now there is a problem.
i can still connect, suppling the function with the TCP port and IP address and having a SOCKET returned but when i call the Send or Receive function, suppling the socket the select command fails, but why?

cheers, bigdaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top