RCM3000 / DC9.62 tcp/ip lockup

Started by zx5000 in Rabbit-Semi6 years ago

I have a textbook implementation (below) of the tcp/ip message loop and occasionally the tcp/ip system will stop accepting incoming connections....

I have a textbook implementation (below) of the tcp/ip message loop and occasionally the tcp/ip system will stop accepting incoming connections. This happens when there are a lot of connection requests in a short amount of time. Is there any way to detect this condition and reset the tcp/ip stack when it happens? TIA Jeff void waitForConnection(tcp_Socket * s) { int bytes; i...


TCP Client

Started by mrodsilva in Rabbit-Semi14 years ago 1 reply

Hi all, I want to connect a rabbit to a server using TCP, and I'm new to rabbit TCP. Does anyone know where can I find a TCP Client...

Hi all, I want to connect a rabbit to a server using TCP, and I'm new to rabbit TCP. Does anyone know where can I find a TCP Client sample? Thanks Marcelo


TCP Stack

Started by rmcdonld in Rabbit-Semi11 years ago 1 reply

I am using telnet and I have noticed my sessions get hung if for example the PC crashes. If a tcp connection gets dropped across a multihop...

I am using telnet and I have noticed my sessions get hung if for example the PC crashes. If a tcp connection gets dropped across a multihop network, the subsequent tcp SYN for the next connection sequence does not get a correct response from the TCP stack. What I have found is the local state is established as I would expect from a crash on the remote end. In this state, the rfc sta...


multiple sockets on tcp/ip problem

Started by Jim Main in Rabbit-Semi13 years ago 2 replies

Apologies for reposting this, but I'm still stumped. still getting to grips with the rabbit... I'd like to service 2 or more tcp...

Apologies for reposting this, but I'm still stumped. still getting to grips with the rabbit... I'd like to service 2 or more tcp connections simultaneously (max of about 4). I thought the example shown on page 37 of the dynamic c tcp/ip users manual would do the trick, but it only allows one port to be open at any one time. I've added t


Fieldbus vs. TCP/IP

Started by fairy_dave in Rabbit-Semi10 years ago 1 reply

Hi all, With the increasing popularity of TCP/IP (be it in ethernet, WiFi, or something else) I was wondering how the various field bus...

Hi all, With the increasing popularity of TCP/IP (be it in ethernet, WiFi, or something else) I was wondering how the various field bus implementations fared these days. I've never used any fieldbus myself but given comparisons based on things such as cost, speed, etc TCP/IP would be becoming the more and more popular choice. Dave


UDP/TCP Interaction

Started by Steve Trigero in Rabbit-Semi13 years ago 13 replies

If I want both UDP and TCP capability, can I listen on the same port for both UDP and TCP and connect to the one that comes in first? Or do...

If I want both UDP and TCP capability, can I listen on the same port for both UDP and TCP and connect to the one that comes in first? Or do I need unique ports numbers? Steve


The best "time out constant" for GPRS-PPP connection

Started by marek_hluchnik in Rabbit-Semi13 years ago

Hi all, I have question for TCP/IP experts. I am solving TCP connection thruu GPRS(PPP). The PING on this connection is between 1,5 - 10...

Hi all, I have question for TCP/IP experts. I am solving TCP connection thruu GPRS(PPP). The PING on this connection is between 1,5 - 10 sec. It depends on APN etc. Does anybody know what setting of TCP/IP "TMOUT VARIABLES" is the best for max. performance for TCP on this site, Because I am going to write application for transwer JPG(about


TCP/IP Question

Started by reotrb in Rabbit-Semi13 years ago 6 replies

Hello all, I have a situation where an A/D converter is sampling a analog source. When the voltage being sampled reaches a certain level,...

Hello all, I have a situation where an A/D converter is sampling a analog source. When the voltage being sampled reaches a certain level, my RCM3200 is interrupted, and then enters a routine where the values from the A/D converter are read in on Rabbit parrallel port and sent out over a network as TCP packets. I have a TCP/IP client written in Visual B


TCP/IP doesn't work after upgradeing from 7.33 to 8.01

Started by David Zitzkat in Rabbit-Semi14 years ago

Has anyone had a problem with TCP/IP not working after upgrading to DC 8.01 from an earlier version (around 7.33)? We were using DC...

Has anyone had a problem with TCP/IP not working after upgrading to DC 8.01 from an earlier version (around 7.33)? We were using DC 7.33 with TCP/IP working just great. After upgrading to DC 8.01 the same code seems to initialize correctly ( i.e. sock_init() and tcp_listen() are successful), however a loop check on sock_established() and sock_bytesread


tcp_tick()

Started by mlinder in Rabbit-Semi12 years ago 3 replies

Hi all, Testing out some code it appears that tcp_tick(&mySocket) will not notice that a socket is closed if there is even one byte of...

Hi all, Testing out some code it appears that tcp_tick(&mySocket) will not notice that a socket is closed if there is even one byte of data that the application has not read from a tcp socket. Is this a normal behavior of a TCP/IP stack or just zworlds? Normally I dont think anyone would see this. I've use ZW tcp since 7.25 and neve


Does usage of Auxillary i/o causes TCP/IP functionality in RCM3200

Started by kapil_chittewan in Rabbit-Semi10 years ago 2 replies

Hello All If we have enabled auxilary I/O in RCM3200, will it cause any problem to TCP/IP functionality? We have define PORTA_AUX_IO MACRO at...

Hello All If we have enabled auxilary I/O in RCM3200, will it cause any problem to TCP/IP functionality? We have define PORTA_AUX_IO MACRO at the begining of our code. does any ofthe parallel port pin can cause misfunctioning of TCP / IP ? Pease Let me know your valuable response Thanks Sarang M.


TCP client w/ SNMP

Started by mago Umandam in Rabbit-Semi12 years ago 5 replies

hello all   I have a project that sends information to the webserver via ethernet using TCP. Now i want to monitor some of its...

hello all   I have a project that sends information to the webserver via ethernet using TCP. Now i want to monitor some of its parameters using SNMP. Do you think this is feasible even if the it uses TCP while SNMP uses UDP? Any idea? __________________________________________________


GRPS problem with DC 830 and PPP ??

Started by simitel0299 in Rabbit-Semi14 years ago 2 replies

Dear all, I am now using DC 8.30 (PPP 1.04) with Rabbit3000 (512KB FLASH, 512KB SRAM), and my application is GPRS (PPP) related, now I...

Dear all, I am now using DC 8.30 (PPP 1.04) with Rabbit3000 (512KB FLASH, 512KB SRAM), and my application is GPRS (PPP) related, now I meet a problem. My Rabbit target is as a TCP client, and a PC is as a TCP server, when the TCP connection has been established, the client will send data to the server via the TCP connection.


TCP/IP to stops working after upgrading to 8.01

Started by David Zitzkat in Rabbit-Semi14 years ago 2 replies

Has anyone had a problem with TCP/IP not working after upgrading to DC 8.01 from an earlier version (around 7.33)? We were using...

Has anyone had a problem with TCP/IP not working after upgrading to DC 8.01 from an earlier version (around 7.33)? We were using TCP/IP in 7.33 without problems. Now after upgrading to 8.01 it no longer works. The ported code seems to initialize correctly ( i.e. sock_init() and tcp_listen() are successful), however a loop check on sock_establish


2 tcp ports open at the same time?

Started by Jim Main in Rabbit-Semi13 years ago

still getting to grips with the rabbit... I'd like to service 2 or more tcp connections simultaneously (max of about 4). I thought...

still getting to grips with the rabbit... I'd like to service 2 or more tcp connections simultaneously (max of about 4). I thought the example shown on page 37 of the dynamic c tcp/ip users manual would do the trick, but it only allows one port to be open at any one time. I've added the code below - what do I need to do to get it to service both


TCP not working across gateway

Started by alison_j_taylor in Rabbit-Semi14 years ago

I am trying to get TCP socket communications to work across a gateway. I can get ICMP (ping requests) going across the gateway both ways,...

I am trying to get TCP socket communications to work across a gateway. I can get ICMP (ping requests) going across the gateway both ways, but not TCP (socket communications) going. I am currently talking to ZWorld about this. If anyone else has seen this and knows the solution, I'd love to hear it. Here's some details. I read my ip config


TCP/IP and C#

Started by ddatwyler in Rabbit-Semi12 years ago

I finally have something working between the PC and Rabbit (actually two Rabbits) with TCP/IP. BUT, I have some questions. 1. To...

I finally have something working between the PC and Rabbit (actually two Rabbits) with TCP/IP. BUT, I have some questions. 1. To get things working, I added tcp "flush" commands on both ends of the link. Is this needed? 2. To get some other parts working, I cleared buffers on both ends (sometimes). I and a soft


Re: basic questions about TCPIP and the RCM4010

Started by Jerry in Rabbit-Semi11 years ago

There are a few resources for this: 1) Read the TCP/IP user's manual (Vol 1 & 2), which are found...

There are a few resources for this: 1) Read the TCP/IP user's manual (Vol 1 & 2), which are found here: http://www.rabbitsemiconductor.com/products/dc/docs.shtml 2) Inspect the comments in the TCP/IP samples that come with Dynamic C. 3) Open up the TCP/IP libraries and read the comments at the top of each. Quite a few of the #defines are explained there. Hope that helps, Jerry --- In...


RS485 enable and TCP/IP

Started by dpalu2 in Rabbit-Semi12 years ago 7 replies

Hello, I am using a RCM3000 and it is connected to six RS485 serial ports. The RCM3000 is basically a router. It gets packets on TCP/IP...

Hello, I am using a RCM3000 and it is connected to six RS485 serial ports. The RCM3000 is basically a router. It gets packets on TCP/IP and sends them out the appropriate RS485 port and if it gets a response it sends it back up using TCP/IP. So far everything is working great, now I am trying to speed things up. I would like to eliminate the bel


rabbit 5000 tcp client ucosII

Started by gangben in Rabbit-Semi5 years ago 4 replies

Hi guys I want to write a tcp client with the rabbit. It has a simple functionallity it shall connect to a nodeJS server via localnetwork and...

Hi guys I want to write a tcp client with the rabbit. It has a simple functionallity it shall connect to a nodeJS server via localnetwork and send the input from the uart interface. In my example here I start ucosII and have 2 tasks one that is counting just some numbers and the other one shall keep the tcp connection alive with tcp_tick(); But here comes my problem it always says to me ...