Closed AhmedMannai10 closed 2 years ago
I can get the ports, connect to them and read data. but I cannot write writeBytesFromString and writeBytesFromUint8List always returns false
writeBytesFromString
writeBytesFromUint8List
.
Actually, write successed. It's due to overlapped mode. Write Operation will always return 0 and GetLastError will retrun 997 error code which means ERROR_IO_PENDING.
Fixed it.
Well Done. Thank you so much👍
I can get the ports, connect to them and read data. but I cannot write
writeBytesFromString
andwriteBytesFromUint8List
always returns false.