Archived

This topic is now archived and is closed to further replies.

UDP Wrapper src, having some issues

This topic is 5603 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just wrote a UDP Wrapper yesterday for the first time, and it has some connection problems, sometimes. I tried connecting the little driver program with a friend and sometimes it works, while othertimes it doesn't work. Now the packetloss rate between my friend and I is 0%, and the ping is around 70. I am using connected datagrams. We both get 'connected' messages, but he seems unable to send me any data. The links below contain the cpp and header files for the SocketClass, and the mainCPP, driver program. It's quite a small class actually, with an even smaller driver program. I'm hoping someone has time to look over them and see what I might have done wrong. Driver Src: http://www.geocities.com/marvg007/misc/mainCPP.txt SocketClass: http://www.geocities.com/marvg007/misc/SocketClassCPP.txt http://www.geocities.com/marvg007/misc/SocketClassH.txt Since this is geocities, you might have to open a new browser, and cut and paste to see these. Or just go to the misc folder. Edit: the problem might just be firewalls, but sometimes, it still doesn't work with or without them, and sometimes it works regardless. -=~''^''~=-.,_Wicked_,.-=~''^''~=- [edited by - Wicked Ewok on August 16, 2002 8:19:19 PM]

Share this post


Link to post
Share on other sites