flat assembler
Message board for the users of flat assembler.

Index > Windows > winsock UDP

Thread Post new topic Reply to topic

Joined: 18 Jan 2004
Posts: 97
Location: Virginia Beach, VA
asmdemon 13 Dec 2004, 18:53
Ok, i have a problem(don't we all). I was rewriting the quetannon to make it, instead of TCP, do UDP or datagram(connectionless) protocol. The problem i'm having is that when the client program sends, the reciver recives the data, but when the reciver tries to send data back, it isn't recived by the client. i have included the modified source(sorry i removed the logo for size), which also has an updated version of the winsock equates file. the second zip is a c++ version that showed me that 2way communication was possible, and how do setup the sendto/recvfrom data. to prove that it is at least communicating on udp, you can use netstat -an or fport if you have it.

[edit]added screen shot[/edit][/img]

Description: a screen shot of problem
Filesize: 90.73 KB
Viewed: 1409 Time(s)


Description: this is the current source code that i have modified, the exe, and the updated winsock equates.
Filename: telnetudp.zip
Filesize: 5.8 KB
Downloaded: 286 Time(s)

Description: This is an example i found that shows UDP communication from the console.
Filename: DataGram.zip
Filesize: 27.67 KB
Downloaded: 271 Time(s)

It is better to be on the right side of the devil than in his path.
Post 13 Dec 2004, 18:53
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.