Sign in to follow this  
Followers 0
Frenchy

[RESOLVED]help udp protocol

5 posts in this topic

#1 ·  Posted (edited)

I would mix send and receive in udp protocol

i see 2 functions UDPBind and UDPopen, the first is only for incomming data..so i have to use the udpOpen to mix udprecv and udpsend?

Edited by Frenchy

Share this post


Link to post
Share on other sites



I would mix send and receive in udp protocol

i see 2 functions UDPBind and UDPopen, the first is only for incomming data..so i have to use the udpOpen to mix udprecv and udpsend?

Hi there,

I'm not a specialist in communications, but i beliave that all that you have to ensure is that the receving and sender port are diferents.

UDPBind ($ipaddress, $x) ; Start an UDP port as a server

UDPOpen ($ipadress, $y) ; Connect to an UDP server

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

hum thanks i knew that..but i have to use the same port...for sending and receiving..

so i have to test with wireshark to see if no problem..

Edited by Frenchy

Share this post


Link to post
Share on other sites

hum thanks i knew that..but i have to use the same port...for sending and receiving..

so i have to test with wireshark to see if no problem..

Hi there again,

As far as i see...

Open comm to receive

close comm

open comm to transmit

close comm

...

and so on...

Good luck for the script!

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites

You have right...

Open comm to receive

close comm

open comm to transmit

close comm

Tested and its Okay..thanks for help..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0