Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Send to a special IP Adress

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive
View previous topic :: View next topic  
Author Message
fileplayer

Bascom Member



Joined: 09 Nov 2005
Posts: 18
Location: 32339 Espelkamp

germany.gif
PostPosted: Mon Jan 30, 2006 5:48 pm    Post subject: Send to a special IP Adress Reply with quote

Hi all,

with theline like this :

'fremde IP Adresse
Result = Udpwrite(f_ip , F_port , Sockel , "Test")

i can send to the Adress and Port there is in the var f_ip , and f_port, on the Socket there is in the var Sockel.

Thats work fine but only one time. Will say after i have send to the adress, the adress is fix. Never i can send to a nother Adress. I dont belive it , but its true. the Adress in the var:F_ip is not the destination Address, the paket come not to the destination.

The Reason is i have 2 Computers connect to the MCU and both sending a Question to the MCU , and the MCU shout give a Answer to the both Computers. But it sending only to one (the Computer thre was first Connecet to the MCU).

Is this normal or wrong. Have one of You a Problems like this. Need Help/info or a Workaround. Mabee the Problems is on me, so tell me more.

Thanks

Günni

_________________
Fileplayer
Back to top
View user's profile
Plagit

Bascom Member



Joined: 03 Feb 2006
Posts: 4

blank.gif
PostPosted: Mon Feb 06, 2006 3:27 pm    Post subject: Reply with quote

Just an Idea:
Could it be, that you only use one socket? And when the first PC opens that, the second doesnt get a connection and thus no answer.
Regards
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum