[gameprogrammer] Re: Rich Interent Application System for Games

On 6/20/05, Chris Nystrom <cnystrom@xxxxxxxxx> wrote:
> 
> The next problem that I ran into, was that on the server side I was
> using inetd to handle the networking. This worked fine for TCP, but I
> am running into issues with UDP. I have a small test program, and it
> is starting up fine and getting input, but I can not seem to see the
> output for some reason. Still working on this. Might be a waste of
> time, but I wanted to basically just change my existing program from
> TCP to  UDP and compare the transactions per second, before I redo
> everything.

I figured it out. WIth UDP from inetd you can not simply use stdio
like you can with TCP. You still have to use recvfrom (which tells you
where the packet came from) and sendto, since UDP is connectionless.

Chris

-- 
E-Mail: Chris Nystrom <cnystrom@xxxxxxxxx>
Business: http://www.shaklee.net/austin
Blog: http://conversazione.blogspot.com/
AIM: nystromchris


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: