From 99950afcd322a02cb8f5f6b3d338d8623bd2d708 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 5 Nov 2011 08:25:47 +0000 Subject: [PATCH] fixme --- Common/GmshSocket.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Common/GmshSocket.h b/Common/GmshSocket.h index 225df560e4..e47aa69f1f 100644 --- a/Common/GmshSocket.h +++ b/Common/GmshSocket.h @@ -377,7 +377,10 @@ class GmshServer : public GmshSocket{ _portno = ntohs(addr_in.sin_port); char tmp[10]; sprintf(tmp, "%d", _portno); - _sockname = tmp; + // FIXME: I don't understand this -- what should be the syntax + // to use a remote port? "hostname:" ? Then I don't get how + // _portno can be 0 above + _sockname += tmp; } } -- GitLab