Tuesday, July 28, 2009

Need help in TCP/IP communication?

Platform: Linux


Lang: C


i hav a scenario here where i need to call bind() function in the same program on the same port number twice... for the second bind() invocation on the the same address (ip, portno) the bind results in an error... i hav closed the socket i had used in first bind before calling it the second time... where am i going wrong...? plz tell how i can bind to the same port twice in the program....

Need help in TCP/IP communication?
This might help.





http://cs.baylor.edu/~donahoo/practical/...





Shows how to use sockets and the bind function.


No comments:

Post a Comment