DescriptionAdd TCP socket mojo implementation.
This is a very preliminary pass and not tested very well. Open issues:
It seems there is no way to wait on a mojo data pipe without using chromium message loops, which I was reluctant to do in my example. We'll need this before doing any nontrivial sending or receiving, including testing of the infrastructure.
We need to be able to pass the net work type (IPv4 or v6) to the connect function that bypasses bind. I removed the code here and documented that it doesn't work yet.
R=yzshen@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/4dea7b416c95292d14e2d2a2cfd18cd57268be11
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 3
Patch Set 5 : review comments #
Total comments: 1
Patch Set 6 : more review comment #
Total comments: 2
Patch Set 7 : #
Total comments: 15
Messages
Total messages: 19 (7 generated)
|