Thanks François for your help ! I will try this tomorrow... Just to be sure I'm not asking in the wrong direction, this already worked with my program a few weeks ago... And now without changing anything (or nothing consciously at least !) it doesn't work anymore.
Attached just 2 wireshark captures (at the time it worked !), you can see the length of the data is 2114 in one capture and 2348 in the other one. Today I cannot go over 1500 (the rest comes then in another chunk) The problem is that the hardware at the other end, takes this as several answers. Of course this is also a problem on this hardware but I cannot change it, and again it has already worked... Can the network topology (different switches or hub) give different results about this ? Thanks Best regards Frédéric SCHENCKEL * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * cab technologies za Nord du val de Moder 67350 Niedermodern Tél: + 33 3 88 72 25 01 / Fax: +33 3 88 72 25 02 Notre site en Français: www.cab-technologies.fr Adresse support: supp...@cab-technologies.fr * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -----Message d'origine----- De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de François Piette Envoyé : mercredi 20 février 2013 17:54 À : 'ICS support mailing' Objet : Re: [twsocket] TWSocket and data packet length >I need to send a data packet in one chunck. >Today the datas are splitted in two chunks, one of 1500 (the MTU limit) >and another one for the rest. > I'm not able to go over this 1500 limit. I know it's possible because > I have another program how does it like this What you ask is to use Jumbo Frames which is available on some gigabit ethernet systems. Jumbo frames are handled by the OS, not Winsock API (TWSocket make use of Winsock API of course). Altough not tested, you should probably do the following: - Set SocketSndBufSize to some large value - Set BufSize to at least the same large value - Send your data as usual. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be http://francois-piette.blogspot.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
-- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be