Skip to main content
Home Forums 68kMLA Fix networking in Basilik II under Linux — #16
Post #16 by neozeed
Source Forum68kMLA
CategoryNetworking
Post DateSat, 11 Oct 2014 - 16:13
Original URLhttps://68kmla.org/bb/threads/fix-networking-in-basilik-ii-under-linux.181/
Post
probably because of CPU cache
That is what I was figuring I get a .5 or under exe so that helps a bunch with modern processors with multi-megabyte on die l3's.

i'm not sure how much of it was visual C++'s debugger or what but on Windows with winsock it gets very confused with struct socket stuff with a clash from winsock2.h and the slirp stuff.  I also put some minor protection around some stuff I kept seeing come back with NULL addresses. 

From slirp_input to inputting packets into basilisk's ethernet I shoved them into a queue as I noticed I was receiving more packets than I was processing them when I was hammering the interface.  I'm getting 80kb/sec as a max, the same level I managed to get with this code with Shoebill.

mp.ls