Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close sockets

Status
Not open for further replies.

mgdaviso

Technical User
May 23, 2000
43
GB
Hi all, during an install of BMC Patrol I am getting an unable to open port error, on doing a netstart -na I see the socket in CLOSE_WAIT state. I am using Solaris 2.6.

The question is.... How do I get rid of this, without rebooting?
Mike davison
mike.davison@avon.com
 
if you have or can get the utility lsof,
you could possibly see what process is using that port
and kill the PID.

lsof -V|grep TCP|grep " PORT_NUM_HERE "

Robert Robert G. Jordan

Robert@JORDAN2000.com
Unix Sys Admin
Chicago, Illinois U.S.A.
[lightsaber]
 
can anyone tell me how to pass user-defined objects in c++ over udp sockets
 
rb531,

Probably best to ask your question in a C++ forum and, no offence meant but - you'll need to ask in a lot more detail. Mike
______________________________________________________________________
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top