Closed GoogleCodeExporter closed 8 years ago
Looking at the source, it seems that tcpclient[src|sink] and
tcpserver[src|sink] were already present as of v0.10.28 (and pretty much
unchanged since).
Does anyone know why they are not available in the beta SDK builds?
Original comment by tot...@gmail.com
on 18 Apr 2011 at 4:46
I believe, IIRC, that it's because they require unix headers/libs that are
unavailable for compilation with MSVC. They need to be ported, basically. Of
course, it's been a while since I last looked at it...
Original comment by david.g.hoyt
on 18 Apr 2011 at 10:23
Hah, a quick search seems to indicate that porting the tcp code to winsocks
shouldn't be too hard.
Is there any documentation out there on how to add existing code (the /gst/
dir) to the VS project?
Original comment by tot...@gmail.com
on 23 Apr 2011 at 8:01
Sorry, I meant the /gst/tcp/ directory, obviously.
Original comment by tot...@gmail.com
on 27 Apr 2011 at 1:50
Open the project in visual studio (use the solution, actually) and then just
drag and drop the files from explorer into the visual studio project. I believe
there's already one made that should include those files, if they had been
msvc-compatible.
Original comment by david.g.hoyt
on 27 Apr 2011 at 3:33
Look at Main/GStreamer/Windows/Build/Plugins/Base/gst/notimpl/ and then copy
libgsttcp.vcproj into Main/GStreamer/Windows/Build/Plugins/Base/gst/, add it to
the solution, and then you might need to modify some paths since that was made
before we shifted some paths around. That should be enough to get you started.
If it's still not working, copy one of the projects in
Main/GStreamer/Windows/Build/Plugins/Base/gst/, change its project GUID, then
add it to the solution.
Original comment by david.g.hoyt
on 27 Apr 2011 at 3:38
When you're done, submit your patches upstream. Once they're submitted,
accepted, and added to the repo., open a new issue here to let us know and
we'll update our repo. with the changes.
Original comment by david.g.hoyt
on 27 Apr 2011 at 3:40
Last time I tried to load it up, Visual Studio barfed at me with lots of
errors. I just haven't got time to fight with it at the moment... So, don't
hold your breath.
Original comment by tot...@gmail.com
on 2 Sep 2011 at 7:17
I've had a go, and managed to get as far as connecting to the other end
(clientsrc and clientsink only) - it is not meant to be usable, just RFC at
this stage.
* WSAStartup should be moved to a common location so it only gets called once,
but what about WSACleanup? Is there a global shutdown hook that can be used?
* Are there any good existing examples of how to use WSAGetLastError instead of
errno?
I am not sure how much more time I can spend on this in the near future, so I
am attaching what I have. Feel free to comment.
Original comment by tot...@gmail.com
on 28 Oct 2011 at 2:02
Attachments:
Original issue reported on code.google.com by
tot...@gmail.com
on 5 Apr 2011 at 4:33