Index: webrtc/examples/peerconnection/client/main.cc |
diff --git a/webrtc/examples/peerconnection/client/main.cc b/webrtc/examples/peerconnection/client/main.cc |
index 413069d5e90c35fc3aaa5b42343efc8f4b46a937..5ec1a7ae7dfcf3558d3adb9e1e5b437885263b36 100644 |
--- a/webrtc/examples/peerconnection/client/main.cc |
+++ b/webrtc/examples/peerconnection/client/main.cc |
@@ -21,7 +21,8 @@ |
int PASCAL wWinMain(HINSTANCE instance, HINSTANCE prev_instance, |
wchar_t* cmd_line, int cmd_show) { |
rtc::EnsureWinsockInit(); |
- rtc::Win32Thread w32_thread; |
+ rtc::Win32SocketServer w32_ss; |
+ rtc::Win32Thread w32_thread(&w32_ss); |
rtc::ThreadManager::Instance()->SetCurrentThread(&w32_thread); |
rtc::WindowsCommandLineArguments win_args; |