


Hi,I've a client server system.My client sends a message to server & starts a timer.If the server does not respond with in the limit set by timer, timer goes off and the client shall throw an exception.The problem is client seem to wirte the message to server socket, but it is not ...
Hi All,I am using the ZipFile class in Java to parse/read data from an ascii file. But I want to implement this reading process using the RandomAccessFile and read the data randomly. But I am using a StreamTokenizer from the ZipFile to read the data currently, but I am stuck without knowing how ...
cc complains about structure declaration:[code]typedef struct {int type;int len;unsigned char data[0];} packet_t;[/code]Is it possible to compile such code with cc ?Gcc doesn't have any problem with it. ...
What does your .dbxrc look like? Please share yours.Thanks,Quang ...
hi: where is there a forum only for speaking the yield in Java? thanks. ...
Hello,I am still having some problems with my Solaris 8 C++ multithreaded application (please check my previous post: http://forum.sun.com/thread.jsp?forum=5&thread=20632&start=0&range= 15).When I run my program with two threads on a two-processor Sun V240, the CPU usage of the ...
Getting the following error on linkingild: (undefined symbol) main -- referenced in the text segment of /u05/SUNWspro/WS6U1/lib/crt1.oThis one has me confused. Why would the Workshop's own library not be able to find a symbol? BTW, this is a new installation of the compiler, but this is the ...
Hi,I've just installed the latest community version of Opensolaris, along with the beta of sun studio 12 on a 16-way 32GB amd64 machine. So far this machine has been running with linux+intel 9.1 compilers. When I tried to run our openmp code, after solving a (very few) porting issues, I found ...
Hi,We've been linking our C++ 4.2 compiled code with old Xview libraries. We are now planning to migrate to Sun WorkShop 6 C++ compiler. Will we still be able to link with old Xview libs?Thank you,Marina ...
All,A multi-threaded C application compiled with "-xO4 -xtarget=native -mt" runs 27% slowerthan the same app compiled with "-xO4 -mt" only.Both compile and execution were performed on a Sun Ultra60 workstation runningSolaris 2.6 .Any ideas why "native" target did not help ...
When I try to build my project with -xtarget=ultra3 -xarch=v8plusa the compilation fails, the code don't use any architectural specific code so I don't see why it fails. I dont get any special output from the compiler else then it return error code 1.I also tried to compile with ...
Iam getting core sometimes while using my X window application.Iam using Sun Solaris 5.8 and the CC as 4.2.Is this a known bug and the patch has been released for this?Can somebody help me out on this?Below is the stack trace attached248XtAppNextEvent(appContext, &event);(dbx) wherecurrent ...
I am putting full screen images (1280x1024) to the display once per monitor refresh (13 milliseconds). Starting from XImage data (pixels), I XPutImage to offscreen pixmap, then XCopyArea to screen, which seems fastest so far. But XPutImage takes anywhere from 1 to 60 milliseconds. Is there a ...
I am putting full screen images (1280x1024) to the display once per monitor refresh (13 milliseconds). Starting from XImage data (pixels), I XPutImage to offscreen pixmap, then XCopyArea to screen, which seems fastest so far. But XPutImage takes anywhere from 1 to 60 milliseconds. Is there a ...
i got the following assertion failure while trying to link a shared library with -xprofile=use (and -xipo=2 -xlinkopt=2):[code]$ /usr/local/stow/sunstudio10/bin/CC -fast -xipo=2 -xjobs=5 -xprefetch -xlinkopt=2 -xprofile=use:runsim -KPIC -features=extensions -xtarget=ultra3cu -xarch=v9a -G ...
