mac

get computer name on mac (objective-c)

How can i get the computer's name in objective-c on a mac. I'm talking about the same name as the one you can find in System Profiler under software. ...

how to know 2 lan pc is connetced with my program in php?

I have 4 PCs which are connected through the LAN. I am making a PHP program that will differentiate each PC separately and i will keep each pc record. But when i am getting an IP address i am getting same IP for all. I guess i should retrieve MAC address for all pcs separately, but i don't know how will i fetch MAC address. I am usin...

Questions about using Accelerate.framework

Hey guys, I have some questions about the Accelerate.framework. I am trying to do some vector stuff. First of all what is the difference between Single Precision Float, Single-Precision Complex, Double-Precision Float, and Double-Precision Complex? And what should I be using for my own struct defined like float x; float y; float z; And ...

open() function hangs (never returns) when trying to open serial port in Mac OS X.

I've run into a problem where the open function never returns when I try to open a serial port. It doesn't happen all the time, and the problem disappears for a while if I unplug my USB to serial adapter and plug it back in. My code looks like this: fileDescriptor = open(bsdPath, O_RDWR | O_NOCTTY); where bsdPath is /dev/cu.KeySeria...

uTidylib segmentation fault

uTidylib is crashing and giving me a segmentation fault every time I try to use it. Here's some info about the crash: Process: Python [432] Path: /System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: ??? (???) Code Type: X86-...