public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: binary sockets??
@ 1997-06-18 23:10 Sergey Okhapkin
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Okhapkin @ 1997-06-18 23:10 UTC (permalink / raw)
  To: gnu-win32, 'Damon Poole'

Damon Poole wrote:
> Any suggestions would be greatly appreciated. I'd especially like to hear from
> anybody that has sent binary files back and forth using sockets.
> 

I'm using wget-1.4.4 compiled with cygnus tools to ftp files. No problems...

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* binary sockets??
@ 1997-06-18  8:39 Damon Poole
  0 siblings, 0 replies; 2+ messages in thread
From: Damon Poole @ 1997-06-18  8:39 UTC (permalink / raw)
  To: gnu-win32

Hi,

I'm attempting to port a socket based application from Unix to NT using
gnu-win32. Almost everything ported without a problem. However, I've run into
two problems. The first was the text/binary file problem, solved with liberal
doses of fopen ( f, "wb") and the like.

The second problem is a bit trickier. It seems to be the same sort of problem,
but with sockets. Is there any way to create a binary-mode socket? Is there
in fact even a problem with ^Z on sockets or should I look for another culprit?

The application creates a thin layer on top of sockets for sending information
and files back and forth. As long as I use empty files, everything works. So,
I don't have any connection problems or anything like that. It is just that
some files are getting extra characters added to the end of them.

Any suggestions would be greatly appreciated. I'd especially like to hear from
anybody that has sent binary files back and forth using sockets.

Thanks!

Damon

P.S. - a pointer to a gnuwin32 port of a socket based app would be super!
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-06-18 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-06-18 23:10 binary sockets?? Sergey Okhapkin
  -- strict thread matches above, loose matches on Subject: below --
1997-06-18  8:39 Damon Poole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).