Broadband (Cable, DSL, Satellite, Fiber Optics)/socket descriptor

Advertisement


Question
how to get socket descriptor in linux for given port number and ip address??
Any command / procedure / software for this??

Answer
Are you asking how to open a socket or how to get a fd for one already open?

If it is the first - read the manual for open()!  If it is the second, this discussion might prove useful:

http://stackoverflow.com/questions/3364213/getting-the-socket-fd-from-ip-address

Broadband (Cable, DSL, Satellite, Fiber Optics)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Ted Mittelstaedt

Expertise

I will answer questions on the following kinds of High Speed Internet connectivity; ISDN, Frame Relay, dedicated T1, higher speeeds such as DS3/OC3, wireless such as 802.11 and DSL. No questions on dialup V90 or Cable access. I can also answer questions on many types of Cisco routers, and a number of other brands of business routers as well.

Experience

I am the technical manager of Internet Partners Inc. an ISP.

Publications
I've written a book titled "The FreeBSD Corporate Networker's Guide" published by Addison Wesley

©2016 About.com. All rights reserved.