Skip to main content
jarroyo9
Associate
April 7, 2009
Question

Nitche TCP/IP lib or uIp

  • April 7, 2009
  • 2 replies
  • 725 views
Posted on April 07, 2009 at 19:04

Nitche TCP/IP lib or uIp

This topic has been closed for replies.

2 replies

st3
Associate III
May 17, 2011
Posted on May 17, 2011 at 09:57

A bit late, I know, but I've only just started playing with the STR9 and InterNiche...

Quote:

Has anybody an example of sending and receiving raw data with this library?

That is, in fact, just what the ''HTTP Listener'' example does! :D

It just listens on a socket and, if it receives anything, does a string compare on the raw data to see if it contained the text ''GET'' or ''POST''.

If it did contain either ''GET'' or ''POST'', then it just sends some ''raw'' data back to the originating IP address (the ''raw'' data just happens to be the text of a simple HTML page).

Hope that helps someone, even if it is too late for the OP! :-[

jarroyo9
jarroyo9Author
Associate
May 17, 2011
Posted on May 17, 2011 at 09:57

Has anybody an example of sending and receiving raw data with this library?

I'm not an expert in TCP comunications and I'd like to send and receive data just doing like an echo client-server application:

- Create a socket.

- Conecting and sending raw information.

- Receive an information.

- Close socket.

The same in the other side (server).

Thanks a lot.

[ This message was edited by: j.arroyo on 21-01-2009 09:15 ]