Distributed Processing Dev Blog

March 18, 2011

Multiple parameters for a function: http://msdn.microsoft.com/en-us/library/ms679351

This link also talks about how to get windows system error messages to print the text instead of the number.

July 8, 2009

Maybe a better way to implement cross platform threading [http://openmp.org/wp/about-openmp/|OpenMP]].

December 24, 2009

improved the Comms lib

I came to a problem that the recv function waited for data to be received instead of moving forward and sending data if nothing was to be received. To fix this there is a function called select. This function checks the line to see if there is data waiting and returns the amount that is there. This allowed the code to continue processing because the app using the connection would read the recv queue then it would push send data to the send queue. The comms thread needed to not lock on the receive function waiting for data when the data wouldn't arrive until the data in the send queue was sent.

December 23, 2009

Winsock issues

I had the program working about a month or so ago and I started it up yesterday. I got the error 10047, which is an unsupported family parameter. I just updated all my computers on my network the day before, so I'm assuming that is related. The solution to this issue was to add the parameter , to the sockaddr_in variable. That seemed to fix it. But there is another issue that has creeped up. In release mode it still throws this error. The internet says that it is due to the optimizations that Visual Studio preforms. We'll see, I haven't solved it yet.

wiki/projects/apps/distrib_proc/devblog.txt · Last modified: 2020/11/19 14:21 by 127.0.0.1
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0