File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Desktop/Tempest/Providers/Network Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ public virtual void Start (MessageTypes types)
81
81
//if (Socket.OSSupportsIPv4)
82
82
{
83
83
this . socket4 = new Socket ( AddressFamily . InterNetwork , SocketType . Dgram , ProtocolType . Udp ) ;
84
+ #if ! WINDOWS_PHONE
84
85
this . socket4 . EnableBroadcast = true ;
86
+ #endif
85
87
this . socket4 . Bind ( new IPEndPoint ( IPAddress . Any , this . port ) ) ;
86
88
87
89
var args = new SocketAsyncEventArgs ( ) ;
@@ -98,7 +100,9 @@ public virtual void Start (MessageTypes types)
98
100
if ( Socket . OSSupportsIPv6 )
99
101
{
100
102
this . socket6 = new Socket ( AddressFamily . InterNetworkV6 , SocketType . Dgram , ProtocolType . Udp ) ;
103
+ #if ! WINDOWS_PHONE
101
104
this . socket6 . EnableBroadcast = true ;
105
+ #endif
102
106
this . socket6 . Bind ( new IPEndPoint ( IPAddress . IPv6Any , this . port ) ) ;
103
107
104
108
var args = new SocketAsyncEventArgs ( ) ;
Original file line number Diff line number Diff line change 211
211
<Compile Include =" ..\..\Desktop\Tempest\Protocol.cs" >
212
212
<Link >Protocol.cs</Link >
213
213
</Compile >
214
+ <Compile Include =" ..\..\Desktop\Tempest\Providers\Network\BufferPool.cs" >
215
+ <Link >Providers\Network\BufferPool.cs</Link >
216
+ </Compile >
214
217
<Compile Include =" ..\..\Desktop\Tempest\Providers\Network\ClientMessageSerializer.cs" >
215
218
<Link >Providers\Network\ClientMessageSerializer.cs</Link >
216
219
</Compile >
223
226
<Compile Include =" ..\..\Desktop\Tempest\Providers\Network\NetworkConnection.cs" >
224
227
<Link >Providers\Network\NetworkConnection.cs</Link >
225
228
</Compile >
229
+ <Compile Include =" ..\..\Desktop\Tempest\Providers\Network\ReliableQueue.cs" >
230
+ <Link >Providers\Network\ReliableQueue.cs</Link >
231
+ </Compile >
232
+ <Compile Include =" ..\..\Desktop\Tempest\Providers\Network\UdpClientConnection.cs" >
233
+ <Link >Providers\Network\UdpClientConnection.cs</Link >
234
+ </Compile >
235
+ <Compile Include =" ..\..\Desktop\Tempest\Providers\Network\UdpConnection.cs" >
236
+ <Link >Providers\Network\UdpConnection.cs</Link >
237
+ </Compile >
238
+ <Compile Include =" ..\..\Desktop\Tempest\Providers\Network\UdpConnectionlessListener.cs" >
239
+ <Link >Providers\Network\UdpConnectionlessListener.cs</Link >
240
+ </Compile >
226
241
<Compile Include =" ..\..\Desktop\Tempest\RSAAsymmetricKey.cs" >
227
242
<Link >RSAAsymmetricKey.cs</Link >
228
243
</Compile >
You can’t perform that action at this time.
0 commit comments