<i>Use iocpsock as windows socket driver</i> status still Open with 3 other changes
by
.
D 2018-11-05T12:38:04.883
J icomment After\sthe\sdiscussion\son\smailing\slist,\si\sjoining\sthis\srequest.\sIt\swould\sbe\svery\snice\sto\shave\sIocpsock\simplemented\sas\swindows\ssocket\sdriver\sin\score.\r\n\r\nI\sworking\son\smultiplatform\shttp\supload\sapplication\swhere\sspeed\sis\sneeded.\sAnd\si\swas\svery\sconfused,\swhy\son\sLinux\si\sgetting\supload\sspeed\sabout\s10-11Mbs\s(upper\slimit\sof\smy\sinternet\sconnection)\sand\son\swindows\sonly\sabout\s2-3Mbs.\r\n\r\nI\sreceived\ssuggestion\sfrom\sHarald\sOehlmann,\sthat\si\sshould\stry\sIocpsock\spackage.\sSo\si\stried\sand\sreplaced\score\s'socket'\scommand\swith\s'socket2'\scommand:\r\n\r\npackage\srequire\sIocpsock\r\npackage\srequire\shttp\r\n....\r\nrename\ssocket\s""\r\nrename\ssocket2\ssocket\r\n....\s\r\n\r\nAnd\sit\shelped!\r\nNow\sim\sgetting\sthe\ssame\sspeed,\sabout\s10-11Mbs\sas\son\slinux.\r\n\r\nI\scan\simagine,\sthat\spoor\sperformance\sof\ssockets\sunder\swindows\smay\sfrighten\ssome\susers\sand\sthey\srun\saway\sto\sother\slanguage\s(javascript,\spython,\s#C,\sor\swhetever\sis\strendy\stoday)\sAnd\swe\sdont\swant\sthis,\sright?\s:)\r\n\r\nPavel\sJ.
J login anonymous
J mimetype text/plain
K fc3c425cde46c6996c8543f701fcbeafd2b7ee5e
U anonymous
Z 927f7e2070c5489fbb4dd7b33dfd581b