method
makeport
makeport()
private
Hide source
# File lib/net/ftp.rb, line 309 def makeport sock = TCPServer.open(@sock.addr[3], 0) port = sock.addr[1] host = sock.addr[3] resp = sendport(host, port) return sock end