4 Knowledge Base

 

 TelecomTrainning.net > Knowledge Base
 Viewing KB Article
Good Evening, - Please register or - log-in to your account.
Search
Search   Saved Questions   Ask a question
Keywords 
 
Available categories
LTE
100 of Questions in LTE
CCNA Certification
CCNA Sample Q & A (1000 + Q &A)
(Network +) Certification
(Network +) Sample Q & A (1000 + Q &A)
Networking
General/Interview Q& A on Networking
Home Networking
General/Interview Q& A on Networking
VOIP, SIP & Asterisk
Q & A on VOIP,Ethereal, SIP & Asterisk
Telecom Test Equipments
Q & A on Telecom Test Equipment
PSTN / Wireline
General / Interview Q & A on PSTN / Wireline
LTE, Wireless, 3G ,Diameter and HSS
General/Interview Q & A on LTE, Wireless, 3G ,Diameter and HSS
Telecom General
Any Q & A in Telecom in General

Top Questions
Friends, Describe Secure storage and distribution of A-Keys?
what is the difference between E1 signal & Ethernet signal ?
How do I monitor SS7 Traffic in spectra2?
Can you tell me about PBGT?
Explain me the difference between a repeater, bridge and router? Relate this to the OSI model.
What is the difference between BRI & PRI ?
Guys what is the purpose of Umbrella Cell Approach in GSM ?
how can we explain media gateway in MSc?
What is GGSN?
What is the difference between Electrical-tilt and Mechanical-tilt of an antenna?
What is BSC?
What is demarc point?
Can any one explain me how sms flow will work using ss7 network ?( from physical layer to application layer)
why cellphone towers are painted in red and white?
Explain SLTA and SLTM messages in MTP3?
Hi guys what is WAP?
wat is the difference betweem MSC & GMSC, & MSS & GCS?
what is EDAp? what is the functions of EDAP?
What is a circuit id?
what is sdh?

Explain how to free up a port or release port in socket programming?
priyadarshan 26-October-2007 05:24:29 PM

Comments


www.fortunecity.com/skyscraper/arpanet/6/cc.htm
Posted by crouse


en.wikipedia.org/wiki/Berkeley_sockets
Posted by crouse


i think following data give you some details
"""Sometimes, a “rough” exit from a program (e.g., ctrl-c) does not properly free up a port
* Eventually (after a few minutes), the port will be freed
* To reduce the likelihood of this problem, include the following code:
#include
void cleanExit(){exit(0);}
* in socket code:
signal(SIGTERM, cleanExit);
signal(SIGINT, cleanExit);""""
Posted by waqasahmad


* Sometimes, a “rough” exit from a program (e.g., ctrl-c) does not properly free up a port
* Eventually (after a few minutes), the port will be freed
* To reduce the likelihood of this problem, include the following code:
#include
void cleanExit(){exit(0);}
* in socket code:
signal(SIGTERM, cleanExit);
signal(SIGINT, cleanExit);


Posted by eric

Q&A Rating

Q&A Rating
Rate This Question and Answer

Related Questions
Explain about Observer 11 from Network Instruments?
Please tell me what is Plain old telephone service?
 
Explan about System Parameter Message (overhead messages of Configuration of CDMA system)?


Search questions via popularity
Top viewed questions  Top emailed questions  Most printed questions  Most saved questions
 
Copyright © Telecom Training, All Rights Reserved