I'd found the constants (which is how I figured out netstreams has 
UDP) and was perusing the websvr example (which I can't seem to get 
to work). What I wasn't finding was any connection between the calls 
and their constants. Definately not a lib for the faint of heart

--- In [EMAIL PROTECTED], "Chris Kenworthy" 
<[EMAIL PROTECTED]> wrote:
>
> --- In [EMAIL PROTECTED], "ghidera2000" <ghidera2000@> 
> wrote:
> >
> > Well, since IPWorks is being uncooperative that just leaves 
> netstreams. 
> > Reading through their website I found reference to UDP so I know 
> > netstreams can do UDP but I can't seem to find any examples of 
it. 
> > Anyone know of such a beastie?
> > 
> > In the meantime I'll see of I can find some TCP/IP examples which 
> > should be almost identical.
> >
> 
> I don't have an example, but the 'socketstream.socket' call is 
going 
> to be important I think - in my usual TCP example there aren't any 
> arguments passed to that method, but according to the NDL help 
file, 
> the address family, socket type, and sub-protocol are all optional 
> parameters, and the netstreams constants page lists the following 
> possible values:
> 
> Address family
> Address family Numeric Key name 
> IPv4 (Internet) 2 "AF_INET" 
> IRDA 26 (Win)/22 (WinCE) "AF_IRDA" 
> IPv6 23 "AF_INET6" 
> 
> Socket type
> Socket type Numeric Key name 
> stream (connection oriented) 1 "SOCK_STREAM" 
> datagram 2 "SOCK_DGRAM" 
> 
> Sub-Protocol
> Protocol Numeric Key name 
> Unspecified (not applicable) 0 "" 
> TCP 6 "IPPROTO_TCP" 
> UDP 17 "IPPROTO_UDP"
>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to