Re: WinSocket support?
Johannes Thoma <johannes-YfaajirXv20X1w8DT5LEVAC/[email protected]> Wed, 2 Mar 2022 18:02:03 +0100
| Newsgroups | gmane.os.reactos.kernel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============1407819764061862116== Content-Type: multipart/alternative; boundary="------------6j9leBeR9faz0gE3JPV00X3c" This is a multi-part message in MIME format. --------------6j9leBeR9faz0gE3JPV00X3c Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Thomas, It didn't work with diskpart unfortunately but I will find a solution. I will keep you updated on the WinDRBD port for ReactOS, this is an exciting project ... Best regards, - Johannes Am 02.03.22 um 17:56 schrieb Thomas Faber: > We have 'diskpart', but I'm not sure how capable it is for things like that. > > > On 2022-03-01 10:27, Johannes Thoma wrote: >> Hi Thomas, >> >> Thank you for your fast answer. I now got WinDRBD running without networking >> support (which is just a proof of concept, DRBD is a network storage replication >> driver) but at least the driver loads and does something. >> >> I couldn't find a way to create paritions on an empty disk, I tried diskpart but it >> failed to create the partition (there is no partition table on the disk yet). What is >> the ReactOS way to create paritions (I also tried fdisk but it didn't exist)? >> >> Best regards, >> >> - Johannes >> >> Am 01.03.22 um 02:25 schrieb Thomas Faber: >>> Hi Johannes, >>> >>> ReactOS does not currently support WSK, nor is any work on it in progress or planned. >>> Our network stack is unfortunately unstable enough even with just TDI, >>> so any efforts in networking typically go towards stabilization. >>> >>> TDI itself is supported, so if you were to work on a library that implements the WSK interface on top of TDI, you might have a chance of it working. However, the kernel-mode interface is not particularly well tested, as AFD (which implements user mode sockets) is currently the only consumer. So even if you get it to work in Windows Server 2003, you're likely to encounter bugs in ReactOS. >>> We'd of course be happy to get any reports of bugs you run into. >>> >>> Best, >>> Thomas >>> >>> >>> >>> On 2022-02-28 15:05, johannes-YfaajirXv20X1w8DT5LEVAC/[email protected] wrote: >>>> Dear ReactOS developers, >>>> >>>> I am working on WinDRBD (https://github.com/LINBIT/windrbd), which is a >>>> port of the Linux DRBD 9 driver to the Windows family of operating systems. >>>> Technically it is a compatibility layer for the Linux kernel functions that DRBD >>>> uses. >>>> >>>> I am currently researching if WinDRBD can be ported to Windows Server 2003 >>>> and also to ReactOS and found that the networking API we are using (WinSocket) >>>> is only supported by Windows Vista (0x600) and up. Porting WinDRBD to ReactOS >>>> would require using the TDI interface instead (everything else "should" work, >>>> however I couldn't test it because it does not load currently into ReactOS). >>>> >>>> My question is is there any ongoing effort to implement a WinSocket API? >>>> If yes what is the status of this implementation? >>>> >>>> Thanks for any insights, >>>> >>>> Best regards, >>>> >>>> - Johannes >>>> _______________________________________________ >>>> Ros-dev mailing list >>>> [email protected] >>>> http://reactos.org/mailman/listinfo/ros-dev >> > > _______________________________________________ > Ros-dev mailing list > [email protected] > http://reactos.org/mailman/listinfo/ros-dev --------------6j9leBeR9faz0gE3JPV00X3c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> Hi Thomas,<br> <br> It didn't work with diskpart unfortunately but I will find a solution. I will<br> keep you updated on the WinDRBD port for ReactOS, this is an exciting<br> project ...<br> <br> Best regards,<br> <br> - Johannes<br> <br> <div class="moz-cite-prefix">Am 02.03.22 um 17:56 schrieb Thomas Faber:<br> </div> <blockquote type="cite" cite="mid:2dc8d30b-50f4-1e9a-1f09-14cdece7df3a-td3rRX5TIkhAfugRpC6u6w@public.gmane.org">We have 'diskpart', but I'm not sure how capable it is for things like that. <br> <br> <br> On 2022-03-01 10:27, Johannes Thoma wrote: <br> <blockquote type="cite">Hi Thomas, <br> <br> Thank you for your fast answer. I now got WinDRBD running without networking <br> support (which is just a proof of concept, DRBD is a network storage replication <br> driver) but at least the driver loads and does something. <br> <br> I couldn't find a way to create paritions on an empty disk, I tried diskpart but it <br> failed to create the partition (there is no partition table on the disk yet). What is <br> the ReactOS way to create paritions (I also tried fdisk but it didn't exist)? <br> <br> Best regards, <br> <br> - Johannes <br> <br> Am 01.03.22 um 02:25 schrieb Thomas Faber: <br> <blockquote type="cite">Hi Johannes, <br> <br> ReactOS does not currently support WSK, nor is any work on it in progress or planned. <br> Our network stack is unfortunately unstable enough even with just TDI, <br> so any efforts in networking typically go towards stabilization. <br> <br> TDI itself is supported, so if you were to work on a library that implements the WSK interface on top of TDI, you might have a chance of it working. However, the kernel-mode interface is not particularly well tested, as AFD (which implements user mode sockets) is currently the only consumer. So even if you get it to work in Windows Server 2003, you're likely to encounter bugs in ReactOS. <br> We'd of course be happy to get any reports of bugs you run into. <br> <br> Best, <br> Thomas <br> <br> <br> <br> On 2022-02-28 15:05, <a class="moz-txt-link-abbreviated" href="mailto:johannes-YfaajirXv20X1w8DT5LEVAC/[email protected]">johannes-YfaajirXv20X1w8DT5LEVAC/[email protected]</a> wrote: <br> <blockquote type="cite">Dear ReactOS developers, <br> <br> I am working on WinDRBD (<a class="moz-txt-link-freetext" href="https://github.com/LINBIT/windrbd">https://github.com/LINBIT/windrbd</a>), which is a <br> port of the Linux DRBD 9 driver to the Windows family of operating systems. <br> Technically it is a compatibility layer for the Linux kernel functions that DRBD <br> uses. <br> <br> I am currently researching if WinDRBD can be ported to Windows Server 2003 <br> and also to ReactOS and found that the networking API we are using (WinSocket) <br> is only supported by Windows Vista (0x600) and up. Porting WinDRBD to ReactOS <br> would require using the TDI interface instead (everything else "should" work, <br> however I couldn't test it because it does not load currently into ReactOS). <br> <br> My question is is there any ongoing effort to implement a WinSocket API? <br> If yes what is the status of this implementation? <br> <br> Thanks for any insights, <br> <br> Best regards, <br> <br> - Johannes <br> _______________________________________________ <br> Ros-dev mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <br> <a class="moz-txt-link-freetext" href="http://reactos.org/mailman/listinfo/ros-dev">http://reactos.org/mailman/listinfo/ros-dev</a> <br> </blockquote> </blockquote> <br> </blockquote> <br> _______________________________________________ <br> Ros-dev mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <br> <a class="moz-txt-link-freetext" href="http://reactos.org/mailman/listinfo/ros-dev">http://reactos.org/mailman/listinfo/ros-dev</a> <br> </blockquote> <br> </body> </html> --------------6j9leBeR9faz0gE3JPV00X3c-- --===============1407819764061862116== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ros-dev mailing list [email protected] http://reactos.org/mailman/listinfo/ros-dev --===============1407819764061862116==--