ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Artem K.Jouravsky" <ujo@ninth.ifirst.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Socket problem
Date: Tue Apr 24 13:51:11 2001
Message-ID: <20010424135233.59f05eb0.ujo@ninth.ifirst.ru> (raw)
In-Reply-To: <3AE421F6.FDE60B1@oberon.novocybersk.ru>

On Mon, 23 Apr 2001 19:37:10 +0700
Maxim Savrilov <Maxim.Savrilov@oberon.novocybersk.ru> wrote:

MS> Alex Ryabchikov wrote:
MS> 
MS> > 23 Апрель 2001 00:37, Вы написали:
MS> > > 22 Апрель 2001 18:15 Вы написали:
MS> > > > Hi!
MS> > > > к примеру lsof выдает мне что некий процесс держит сокет
MS> > > >    3033 user   65u  IPv4      69688                TCP *:9000 (LISTEN)
MS> > > > Вопрос таков: есть ли какие то системные средства(утилиты) для работы с
MS> > > > сокетами? Могу я насильно закрыть его?
MS> > > > Заранее спасибо!
MS> Насильно не знаю. У меня такое было, когда делал сервер на perl. После
MS> отваливания сервака его получалась запустить не сразу, тоже говорил, что порт
MS> занят. Приходилось ждать. Переписал на C  - все нормально, получается запускать
MS> сразу после прерывания.
MS> Пишите на C! ;)
А если в perl делать 
setsockopt(SERVER, SOL_SOCKET, SO_REUSEADDR,1);
не спасет? Люблю perl :)


-- 
Best wishes,
+----------------------+--------------------------+
|  ."-.                |  Work: +7-(095)-229-4278 |
| /X  | _o.----.    _  |  ICQ:  103399444         |
|/\_  \/ /  __  \_// ) |  Artem K. Jouravsky      |
|\__)-/_/\_____)____/  |  http://www.ifirst.ru/   |
+----------------------+--------------------------+		      



  reply	other threads:[~2001-04-24 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-22 18:17 Alex Ryabchikov
2001-04-23  0:32 ` Sergei
2001-04-23 16:11   ` Alex Ryabchikov
2001-04-23 16:35     ` Maxim Savrilov
2001-04-24 13:51       ` Artem K.Jouravsky [this message]
2001-04-23 21:18     ` Roman S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010424135233.59f05eb0.ujo@ninth.ifirst.ru \
    --to=ujo@ninth.ifirst.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git