* Please allow passing local_host and local_port to Kgio::TCPSocket.start()
@ 2012-04-10 18:06 Iñaki Baz Castillo
2012-04-10 20:06 ` Eric Wong
0 siblings, 1 reply; 3+ messages in thread
From: Iñaki Baz Castillo @ 2012-04-10 18:06 UTC (permalink / raw)
To: kgio
TCPSocket.new() accepts 4 parameters:
new(remote_host, remote_port, local_host=nil, local_port=nil)
In my case I do need both local_host and local_port, but
Kgio::TCPSocket.start() only implements remote_host, remote_port
parameters.
Could you please add the remaining two parameters? :)
--
Iñaki Baz Castillo
<ibc@aliax.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Please allow passing local_host and local_port to Kgio::TCPSocket.start()
2012-04-10 18:06 Please allow passing local_host and local_port to Kgio::TCPSocket.start() Iñaki Baz Castillo
@ 2012-04-10 20:06 ` Eric Wong
2012-04-10 20:57 ` Iñaki Baz Castillo
0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2012-04-10 20:06 UTC (permalink / raw)
To: kgio
Iñaki Baz Castillo <ibc@aliax.net> wrote:
> Could you please add the remaining two parameters? :)
If you need it soon, can you send a patch (w/test cases)? :)
I'm busy with other things the next week or so.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Please allow passing local_host and local_port to Kgio::TCPSocket.start()
2012-04-10 20:06 ` Eric Wong
@ 2012-04-10 20:57 ` Iñaki Baz Castillo
0 siblings, 0 replies; 3+ messages in thread
From: Iñaki Baz Castillo @ 2012-04-10 20:57 UTC (permalink / raw)
To: kgio
2012/4/10 Eric Wong <normalperson@yhbt.net>:
> Iñaki Baz Castillo <ibc@aliax.net> wrote:
>> Could you please add the remaining two parameters? :)
>
> If you need it soon, can you send a patch (w/test cases)? :)
Will try it tonight.
--
Iñaki Baz Castillo
<ibc@aliax.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-10 20:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-10 18:06 Please allow passing local_host and local_port to Kgio::TCPSocket.start() Iñaki Baz Castillo
2012-04-10 20:06 ` Eric Wong
2012-04-10 20:57 ` Iñaki Baz Castillo
Code repositories for project(s) associated with this public inbox
https://yhbt.net/kgio.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).