[racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-09 Thread Tony Garnock-Jones
If you've not already seen and considered it, https://github.com/tonyg/racket-packet-socket might be worth a look. Regards, Tony -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it,

Re: [racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread George Neuner
On 4/2/2020 1:45 PM, David Storrs wrote: On Thu, Apr 2, 2020 at 1:32 PM George Neuner wrote: > > ... it is because of Windows that Racket doesn't provide raw (or Unix) > sockets. Racket tries to support all of its features across all target > platforms. I mean...Racket tries to be memory-saf

Re: [racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread David Storrs
On Thu, Apr 2, 2020 at 1:32 PM George Neuner wrote: > > > On 4/2/2020 1:00 PM, David Storrs wrote: > > On Thu, Apr 2, 2020 at 12:37 PM George Neuner wrote: > > > > > > Windows historically placed a lot of limitations on the use of raw > > > sockets. > > > https://docs.microsoft.com/en-us/windows

Re: [racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread David Storrs
On Thu, Apr 2, 2020 at 1:15 PM Sam Tobin-Hochstadt wrote: > > Here's some C source code which should point to the right functions: > https://www.geeksforgeeks.org/ping-in-c/ > > I think you can just use `#f` for the library -- all the functions > should be from libc. Much appreciated. > > Sam >

Re: [racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread George Neuner
On 4/2/2020 1:00 PM, David Storrs wrote: On Thu, Apr 2, 2020 at 12:37 PM George Neuner wrote: > > Windows historically placed a lot of limitations on the use of raw sockets. > https://docs.microsoft.com/en-us/windows/win32/winsock/tcp-ip-raw-sockets-2 > > There doesn't seem to be any updated i

Re: [racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread Sam Tobin-Hochstadt
Here's some C source code which should point to the right functions: https://www.geeksforgeeks.org/ping-in-c/ I think you can just use `#f` for the library -- all the functions should be from libc. Sam On Thu, Apr 2, 2020 at 1:00 PM David Storrs wrote: > > On Thu, Apr 2, 2020 at 12:37 PM George

Re: [racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread David Storrs
On Thu, Apr 2, 2020 at 12:37 PM George Neuner wrote: > > > On 4/2/2020 11:13 AM, David Storrs wrote: > > The Reference lists TCP and UDP but nothing else. I'd like to be able > > to implement ICMP, since there doesn't seem to be such a thing at the > > moment, and I'm trying to figure out how to

Re: [racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread George Neuner
On 4/2/2020 11:13 AM, David Storrs wrote: The Reference lists TCP and UDP but nothing else. I'd like to be able to implement ICMP, since there doesn't seem to be such a thing at the moment, and I'm trying to figure out how to do that. In an ideal world I'd have something like ip-in and ip-out

[racket-users] Are there interfaces for IP ports at least raw sockets?

2020-04-02 Thread David Storrs
The Reference lists TCP and UDP but nothing else. I'd like to be able to implement ICMP, since there doesn't seem to be such a thing at the moment, and I'm trying to figure out how to do that. In an ideal world I'd have something like ip-in and ip-out ports as the complement to tcp-in and tcp-out