Re: winsock.ew
As you can see in the mirc-Eu code, it's open in both programs in read *and*
write mode. Either app can independantly read or write asynchronously to the
same port, and if the other app isn't there, there are no crashes.
The difference in winsock.ew and the srvsckip.ew in the zip file i posted is
speed and real async operation. The old srvsckip.ew could be overrun and
made to fall several msgs behind, because it was trying to be synchronous
and wasn't fast enough. Now it doesn't do that, no matter how fast you send
it data.
Btw, i am still working on the mirc-Eu link since i use it every day, and
i'll prolly post an update early next month.
Kat
----- Original Message -----
From: Grape_ Vine_ <g__vine at HOTMAIL.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Tuesday, January 25, 2000 11:25 PM
Subject: Re: winsock.ew
> I have it, I also have a copy from team Eu, My problem is i need to send
and
> recive data on the same port, When you open a port is it in R/W mode? I am
> used to using the serial/parallel ports for communications, not sockets.
>
> J Reeves
> Grape Vine
> ICQ# 13728824
>
> >From: Brian Jackson <bjackson at 2FARGON.HYPERMART.NET>
> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
> >To: EUPHORIA at LISTSERV.MUOHIO.EDU
> >Subject: Re: winsock.ew
> >Date: Tue, 25 Jan 2000 16:05:30 -0500
> >
> >On Tue, 25 Jan 2000 10:46:43 PST, Grape_ Vine_ <g__vine at HOTMAIL.COM>
wrote:
> >
> > >How do you set up a async socket for send & recive? I know how to do it
> >for
> > >recive, Is it the same?(What is the procedure name for sending data?) I
> > >have 3 differnt versions of winsock.ew, The one i am using is
0.13...TIA
> >
> >I don't believe that there is any special setup on the client side for
> >ASYNC communication. If I remember right, ASYNC is a server property,
and
> >doesn't care one bit about the client. If you've set up the server using
> >an ASYNC socket, then the winsock receive function will return
> >WSA_WOULDBLOCK when blocking would otherwise occur. You ought to be able
> >to use WsockSendData() without a problem. I think the latest version of
> >winsock.ew is now called srvsckip.ew, and can be found in Kat's mIRC
> >package (I think).
> >
> >Brian
>
>
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
|
Not Categorized, Please Help
|
|