Server with UDP and TCP
- From: "Pedro Pinto" <kubic62@xxxxxxxxx>
- Date: 7 Dec 2006 17:54:17 -0800
Hi there!
I have a doubt that maybe someone can help me.
I have to create a server program that runs sincronized with other
servers using TCP. The issue here is, the clients contacting the
servers use UDP. That means that the servers have to listen to UDP and
TCP sockets and the same time. TCP for requests from other servers, UDP
for requests from clients. How can this be done? When i run the TCP
accept comand the system blocks and doesn't listen to the UDP port. The
same issue occurs if i use the UDP recvfrom comand. How can i have both
connections open at the same time?
Regards
Pedro Pinto
.
- Follow-Ups:
- Re: Server with UDP and TCP
- From: Mark McIntyre
- Re: Server with UDP and TCP
- From: mark_bluemel
- Re: Server with UDP and TCP
- From: ***
- Re: Server with UDP and TCP
- From: james of tucson
- Re: Server with UDP and TCP
- Prev by Date: Re: Correct files for declaration and definition for callback functions
- Next by Date: Re: Server with UDP and TCP
- Previous by thread: getchar and character arrays
- Next by thread: Re: Server with UDP and TCP
- Index(es):
Loading