944,198 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1677
  • Java RSS
Jun 16th, 2005
0

Create own ports

Expand Post »
Hi guys , i was wondering how could you create your own UDP ports in java ? To be more specific , its like i have a communication application in java which i can use it to interact between different computers in LAN . However this application usto transmit data . Well , you first have to create your ports then later after opening the ports ,you will be able to make use of your method to send data . I hope this is clear enough
Sorry im weak in java
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nccliang is offline Offline
6 posts
since Jun 2005
Jun 16th, 2005
0

Re: Create own ports

Seems to me you don't understand much about socket communications.

Programs don't create ports, they open sockets on ports. That's easy enough to do in Java, any book on network programming in Java will tell you how (and you'd better study such books as otherwise you're in for a load of performance and security problems no matter what programming language you use).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Jun 16th, 2005
0

Re: Create own ports

There's like 65000 ports(if I remember correctly) to choose from, but remember to be careful about selecting one that doesn't have major process running.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Copying Images to the clipboard
Next Thread in Java Forum Timeline: Changing background images in frames





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC