× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi All!

Tried the archives, but didn't have any luck.  I'm sure someone has probably
asked this before.

We have a sockets application on the AS/400 that is talking to a PC based
application running under Windows sockets.  Our interface is working well,
except for one small problem.  The SocketData field that holds the data
portion of the packet is defined as a variable length field and we specify
the length (%len) of the data string on the send function, but no matter
what we do, we can't get the program to send the actual length of data down
the line.  The customer is getting our data string followed by a bunch of
"@" (nulls) out to the end of the transmission.  (In some cases, according
to a trace, it's the "Max segment size - 1458, other times it's the Max data
length of our data field - 2048)  The customer only wants to see the actual
length of the data comming to him.  He says that's all he sees from
everybody else.

How can we make the Socket Send function only send the data and then stop
sending???

TIA.

Jim Whalen
DCS Software and Services
PH 972 429-8238
jimw2001@hotmail.com


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.