Re: Winsocket send fails

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks Mr. Shcherbyna,
Unfortunately, so far I advanced just a little with the problem...
Some more details about the environment-
The server is an encoder that I develop that streams multimedia to a client
(Windows Media Player) with tcp across the Internet. If the baud rate is
low - say 50kb/s it works fine. If the client is on the same LAN it works
fine either. If the baud rate is high, say 70kb/s and above it breaks just
when it starts with "WINSOCK ERROR--SERVER: Send error 10053".
Trying to stream with a professional application like Windows Media Encoder
to the same Player across the Internet works fine.
Does this information helps something in searching the problem?

Regards
Mandi

"Volodymyr Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx> wrote in message
news:uSBRg84RIHA.4128@xxxxxxxxxxxxxxxxxxxxxxx
In case of synchronous I/O you can use select(...) function to check
socket for errors.

--
Volodymyr

NG tips:
http://msmvps.com/blogs/v_scherbina/pages/microsoft-newsgroups-tips.aspx
"Mandi" <mandi@xxxxxxxxxxxx> wrote in message
news:ebQlnyxRIHA.4180@xxxxxxxxxxxxxxxxxxxxxxx
I use Winsocket send but the function fails from time to time. The error
message says that its a Winsock send error, but I can't debug it farther.
Is there some api that I can use, before using the send, that exposes the
socket status, or can help in some other way?
Regards

Mandi




.



Relevant Pages

  • Re: SCTP using questions (API etc.)
    ... How long can be one particular SCTP message? ... You do not have to deal with the recv buffer ... size of the send socket buffer.. ... What is the minimum number of streams application can rely ...
    (freebsd-net)
  • Re: Networking with CL
    ... is not good even for it's socket brother UDP. ... Streams are actually a lousy abstraction for reading from a network ... because for many protocols you don't know how ...
    (comp.lang.lisp)
  • Re: multiple webcams
    ... instances of WME), I need two different publishing points? ... You said you want to Push, ... Have a look at the encoder settings - there's a separate Push dialog ... I want two streams at once. ...
    (microsoft.public.windowsmedia.encoder)
  • RE: Broadcasting 4 (four) live feeds with 128 Kb/s upload
    ... If you are trying to supply all the end useres with these 4 streams via the ... server to deliver thses live streams so you can support multiple users. ... install a server at a co-lo facility and point it to your encoder. ... > How many client machines could be watching the broadcast, ...
    (microsoft.public.windowsmedia.encoder)
  • Re: in.close() closes outs socket -- is this a bug?
    ... it closes the socket without first flushing the output ... BufferedOutputStream out = new BufferedOutputStream( ... You could achieve this by wrapping both streams with filters, ...
    (comp.lang.java.programmer)