File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
source/nanoFramework.System.Net Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1212
1313////////////////////////////////////////////////////////////////
1414// update this whenever the native assembly signature changes //
15- [ assembly: AssemblyNativeVersion ( "1.0.6 .0" ) ]
15+ [ assembly: AssemblyNativeVersion ( "1.0.7 .0" ) ]
1616////////////////////////////////////////////////////////////////
1717
1818// Setting ComVisible to false makes the types in this assembly not visible
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ public class Socket : IDisposable
2424
2525 private bool m_fBlocking = true ;
2626 private EndPoint m_localEndPoint = null ;
27+ private EndPoint _remoteEndPoint = null ;
2728
2829 // timeout values are stored in uSecs since the Poll method requires it.
2930 private int m_recvTimeout = System . Threading . Timeout . Infinite ;
@@ -313,6 +314,9 @@ public void Connect(EndPoint remoteEP)
313314 throw new ObjectDisposedException ( ) ;
314315 }
315316
317+ // store remote endpoint we are connecting to
318+ _remoteEndPoint = remoteEP ;
319+
316320 NativeSocket . connect ( this , remoteEP . Serialize ( ) . m_Buffer , ! m_fBlocking ) ;
317321
318322 if ( m_fBlocking )
You can’t perform that action at this time.
0 commit comments