Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: Comboboxes in DataGrid Pin
stancrm9-Aug-09 21:22
stancrm9-Aug-09 21:22 
QuestionHow to update MS Access database in the installed application? Pin
Sifar - 09-Aug-09 17:38
Sifar - 09-Aug-09 17:38 
AnswerRe: How to update MS Access database in the installed application? Pin
Ennis Ray Lynch, Jr.9-Aug-09 18:27
Ennis Ray Lynch, Jr.9-Aug-09 18:27 
QuestionRegular Expressions [modified] Pin
Mikey_H9-Aug-09 17:29
Mikey_H9-Aug-09 17:29 
AnswerRe: Regular Expressions Pin
PIEBALDconsult9-Aug-09 21:33
mvePIEBALDconsult9-Aug-09 21:33 
GeneralRe: Regular Expressions Pin
Mikey_H10-Aug-09 9:30
Mikey_H10-Aug-09 9:30 
GeneralRe: Regular Expressions Pin
PIEBALDconsult10-Aug-09 9:53
mvePIEBALDconsult10-Aug-09 9:53 
QuestionUnable to send image on UDP larger than 10K Pin
atifmuzaffar9-Aug-09 15:55
atifmuzaffar9-Aug-09 15:55 
Hi All,

I am trying to develop a client/server application in which client will send images to the server.

Case 1:
Server is running on one machine that is behind a router and client is running on another machine that is behind some different router. As this communication will be on WAN (public IPs), a port is forwarded on server side router so that server can easily receive incoming UDP datagrams on that port.

UDP's maximum transmission unit (MTU) size is 64KB. It means a UDP socket should be able to transmit anything thing of size less than or equal to 65,536 bytes. When in case of the application i am developing the client is only able to send an image(UDP datagram) of 10-13k. If i try to transfer an image of the size greater than 10Kb, server is unable to receive it and server side UDP socket will be always in (receive) blocking mode.

Case 2:
Server is running on a machine that is behind a router and client is running on a machine that is behind the same router. It means client & server are on the same local area network. Even client and server are sharing the same local area network client is sending the images (UDP datagrams) on server's public IP. In this case server is able to receive any size of UDP datagram upto 64K, which is what i am expecting from my application.

I tried to run my client on different remote PCs but the result is same. Server is not able to receive a UDP datagram of bigger than 10-13Kb. If anyone can help me to deal with this situation, he would be much appreciated.

Link to the code: http://pastebin.com/f644fee71

Thanks and goodluck with your projects. Regards,

Atif
AnswerThis may sound silly but Pin
Ennis Ray Lynch, Jr.9-Aug-09 18:23
Ennis Ray Lynch, Jr.9-Aug-09 18:23 
AnswerRe: Unable to send image on UDP larger than 10K Pin
Luc Pattyn9-Aug-09 22:59
sitebuilderLuc Pattyn9-Aug-09 22:59 
QuestionRPG - character draw behind object problems [modified] Pin
jdneul9-Aug-09 11:12
jdneul9-Aug-09 11:12 
AnswerRe: RPG - character draw behind object problems Pin
Luc Pattyn9-Aug-09 11:41
sitebuilderLuc Pattyn9-Aug-09 11:41 
AnswerRe: RPG - character draw behind object problems Pin
harold aptroot9-Aug-09 12:28
harold aptroot9-Aug-09 12:28 
GeneralRe: RPG - character draw behind object problems Pin
jdneul9-Aug-09 12:59
jdneul9-Aug-09 12:59 
GeneralRe: RPG - character draw behind object problems Pin
Luc Pattyn9-Aug-09 13:05
sitebuilderLuc Pattyn9-Aug-09 13:05 
GeneralRe: RPG - character draw behind object problems Pin
harold aptroot9-Aug-09 13:14
harold aptroot9-Aug-09 13:14 
AnswerRe: RPG - character draw behind object problems Pin
jdneul10-Aug-09 4:40
jdneul10-Aug-09 4:40 
QuestionTalking to a telnet server [modified] Pin
shultas9-Aug-09 8:21
shultas9-Aug-09 8:21 
AnswerRe: Talking to a telnet server Pin
Randor 9-Aug-09 9:41
professional Randor 9-Aug-09 9:41 
GeneralRe: Talking to a telnet server Pin
shultas9-Aug-09 9:54
shultas9-Aug-09 9:54 
GeneralRe: Talking to a telnet server Pin
shultas9-Aug-09 10:00
shultas9-Aug-09 10:00 
GeneralRe: Talking to a telnet server Pin
Luc Pattyn9-Aug-09 10:30
sitebuilderLuc Pattyn9-Aug-09 10:30 
GeneralRe: Talking to a telnet server Pin
Randor 9-Aug-09 10:32
professional Randor 9-Aug-09 10:32 
Question[Message Deleted] Pin
spankyleo1239-Aug-09 6:13
spankyleo1239-Aug-09 6:13 
AnswerRe: InsertOnSubmit error Pin
Luc Pattyn9-Aug-09 6:28
sitebuilderLuc Pattyn9-Aug-09 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.