• Post Reply Bookmark Topic Watch Topic
  • New Topic

Port numbers  RSS feed

 
jacob deiter
Ranch Hand
Posts: 587
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In computers generally It has Mouse port ,Keyboard port ,etc.Also Computer has Port number 8080,80,etc……….What are the difference between them. I read article says that port number ranging from 0 to 65535.It means computers should have 65535 ports(like mouse port ,keyboard port)


Is there any restrictions to create a new port EX:45652652..
 
Ryan Beckett
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are hardware ports and virtual ports. The virtual ports are 0 - ~65000. They are just special blocks of memory that the application an uses for networked communication. Hardware ports are the electrical components that are responsible for I/O. You cannot specify a port number that great.
 
jacob deiter
Ranch Hand
Posts: 587
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since I do not have any physical connection,how connection made to this port.

Could you clear my doubt???
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Java, a port is opened with the ServerSocket class, and accessed with the Socket class.
 
jacob deiter
Ranch Hand
Posts: 587
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank for your reply.

I explain my scenario.please suggest how to accomplish ?

I have 700 electronic counter device ,want to connect to a computer.Each device send a counter value asynchronously.Computer should receive all counters' input and update corresponding value in it.

1)How I connect all device to computer?
2)How to receive each counters' value and update its corresponding value (in computer) ?


 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is this "electronic counter device". What connectivity options does this device provide (ethernet, USB, wireless, tin can and string)? Does the vendor have any guidance on the use of their product?
 
jacob deiter
Ranch Hand
Posts: 587
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is ethernet
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe Ess wrote:What is this "electronic counter device". Does the vendor have any guidance on the use of their product?


You really aren't giving us much in the way of useful information here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!