Changeset 173
- Timestamp:
- 06/02/06 10:32:17 (3 years ago)
- Files:
-
- version_0/lib/eventmachine.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
version_0/lib/eventmachine.rb
r168 r173 806 806 807 807 808 # #get_peername is used with stream-connections to obtain the identity 809 # of the remotely-connected peer. If a peername is available, this method 810 # returns a sockaddr structure. The method returns nil if no peername is available. 811 # You can use Socket#unpack_sockaddr_in and its variants to obtain the 812 # values contained in the peername structure returned from #get_peername. 813 def get_peername 814 EventMachine::get_peername @signature 815 end 816 808 817 end 809 818
