What about : Tcp(1,2) like tcp(adapter,socket) .. I wonder also where do you need so many socket connections?
I wonder, does the W5100 support a “raw mode”, where you bypass the built-in TCP/IP stack? So that it works like Obsonet? That way you could have more than 4 sockets on a single connection, just at the cost of increased CPU load.
@Graw: if you need RAW I will make it (we are talking about BASIC support; in application mode you program W5100 directly).
@edoz: we are talking about BASIC device names - OPEN"TCP2B:"FOR INPUT AS#1. I do not need so many socket connections - you as programmer may need. If you personally do not need it does not mean everyone else does not Thus I am targeting for maximum configuration for all of you.
@Eugeny Ah, so the W5100 supports it. I was talking about when accessing from assembly (like Internestor or SymbOS), whether it was possible to overcome the 4 connections limit. I don’t see a need for it in Basic.
whether it was possible to overcome the 4 connections limit
W5100 has 4 hardware sockets. If you need subnets or more sockets, another adapter is required. You are free to program W5100 as you wish, but firmware (GR8NET BIOS) uses socket 2 for DHCP/DNS (UDP)and socket 3 for bload/telnet (TCP). That's why there're only 2 available for users, and you can use these 2 any way you want using direct access or GR8NET BIOS calls.
Sockets only apply to the built-in TCP/IP stack. If the ethernet frames can be accessed directly, there is no limit to how many sockets can be created, at least not a hardware one, at the cost of some additional CPU processing cost (similar to Obsonet).
The way I’m thinking is, once one would need an additional socket beyond the 4th, in stead of plugging in another GR8NET, it could just create additional software sockets without hardware acceleration. If the W5100 permits bypassing the TCP/IP stack, that is.
Sockets only apply to the built-in TCP/IP stack. If the ethernet frames can be accessed directly, there is no limit to how many sockets can be created, at least not a hardware one, at the cost of some additional CPU processing cost (similar to Obsonet).
The way I’m thinking is, once one would need an additional socket beyond the 4th, in stead of plugging in another GR8NET, it could just create additional software sockets without hardware acceleration. If the W5100 permits bypassing the TCP/IP stack, that is.
I think from a hardware point of view it will be possible. But I'm not totally sure. I think this because konamiman created 2 rom flash files in the past for the denyonet. One for running the stack on the chip and one on the device itself. In the end if you want to run more sockets at once it would be better maybe to have 2 network adapters as it will perform better I think .. Especially when you need a lot of sockets for your software at least it would look much cooler if you attach 8 network cards to your MSX
@Grauw, yes, I think this can be done with "IPRaw" or "MacRaw" mode, which is provided by the W5100 as well.
For those who are interested - I am starting production of first batch of 10. This means that within some time I will have hardware of adapters assembled, then I will deal with tailoring SW for new HW, and then they will be available for ordering. I will supply Altera BB-II with each adapter so that users can upgrade FPGA configuration in the field in case bugs will be found.
Cool, keep us updated!
@Prodatron Good to know!