01-07-2002
Yes, the Windows 2000 installer will overwrite the boot record. You must install Windows before Linux; and I suggest to use the boot loader which comes with Linux (as it is way more flexible). Have fun !
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I'm relatively new to the UNIX world and would like to install Solaris on my system. I'm currently running win2k professional and from past experience I know that Win2k doesn't like other OSes installed after it is. I was wondering if there's a way to install Solaris on my machine... (4 Replies)
Discussion started by: Tylerp
4 Replies
2. UNIX for Dummies Questions & Answers
Hello, sorry to bug again....a friend of mine who works for a software company asked the network guy there .....I want to install Linux 7.2 on my windows 2000 box....Mr. Network said that I should have installed linux first then 2k.....does it really make a difference which operating system is... (1 Reply)
Discussion started by: jonas27
1 Replies
3. UNIX for Dummies Questions & Answers
(is there a better forum for this question?)
Has anyone been successful at dual booting redhat linux 6.0 and win 2000 pro? I never had a problem dual booting linux with win98 and my first few tries with win2k were unsuccessful. I am going to try again but would like to get some other people's... (0 Replies)
Discussion started by: edwardtisdale
0 Replies
4. UNIX for Dummies Questions & Answers
From doing some research it should be /dev/sda (SCSI drive) but mine doesn't display that. How can I find out where it is located? (1 Reply)
Discussion started by: shorty
1 Replies
5. Windows & DOS: Issues & Discussions
Hello everyone,
I'm having some difficulty trying to convert a MBR file with hex codes into a "translated" version, where the output explains the contents of the file. For example, a table of primary partitions that I want to translate into plain english:
--- MBR: ---
Partition 1 - 80 01... (2 Replies)
Discussion started by: touvlo2000
2 Replies
6. AIX
Hello,
This is a test/lab LPAR. Recently installed and updated the SP/TL. everything seems to be working fine. (ran all post install checks)
I checked the state of boot record, received the following error/failed message. Can you please explain what does this mean ?
/>ipl_varyon -i
... (1 Reply)
Discussion started by: dio34
1 Replies
7. UNIX for Beginners Questions & Answers
Hello and thanks in advance for any help anyone can offer
Hopefully this is a simple question but is the Volume Boot Record (VBR) only used in Windows? I've seen references to it in relationship to Windows & not Linux... but I'm not sure if that means it's unique to Windows or not. If it is... (1 Reply)
Discussion started by: bodisha
1 Replies
8. Solaris
I installed x86 Solaris 10 update 10 after Windows XP, later I removed xp and installed Debian 9 stretch on the same partition but, Debian couldn't find any other os so it deleted Solaris 10 grub or did something like that I couldn't got.
I thought I would be able to recover the lost record by... (0 Replies)
Discussion started by: vectrum
0 Replies
9. Post Here to Contact Site Administrators and Moderators
In the past five minutes stomp has created two thread titled "Bug: empty lines get sometimes duplicated in new post". When I try to read either of those threads, Safari gives me a window containing the message shown in the attachment. (11 Replies)
Discussion started by: Don Cragun
11 Replies
LEARN ABOUT PHP
stomp_ack
STOMP_ACK(3) 1 STOMP_ACK(3)
Stomp::ack - Acknowledges consumption of a message
Object oriented style (method):
SYNOPSIS
public bool Stomp::ack (mixed $msg, [array $headers])
DESCRIPTION
Procedural style:
bool stomp_ack (resource $link, mixed $msg, [array $headers])
Acknowledges consumption of a message from a subscription using client acknowledgment.
PARAMETERS
o $link
-Procedural style only: The stomp link identifier returned by stomp_connect(3).
o $msg
- The message/messageId to be acknowledged.
o $headers
-Associative array containing the additional headers (example: receipt).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Note
A transaction header may be specified, indicating that the message acknowledgment should be part of the named transaction.
Tip
Stomp is inherently asynchronous. Synchronous communication can be implemented adding a receipt header. This will cause methods to
not return anything until the server has acknowledged receipt of the message or until read timeout was reached.
EXAMPLES
Example #1
Object oriented style
<?php
$queue = '/queue/foo';
$msg = 'bar';
/* connection */
try {
$stomp = new Stomp('tcp://localhost:61613');
} catch(StompException $e) {
die('Connection failed: ' . $e->getMessage());
}
/* send a message to the queue 'foo' */
$stomp->send($queue, $msg);
/* subscribe to messages from the queue 'foo' */
$stomp->subscribe($queue);
/* read a frame */
$frame = $stomp->readFrame();
if ($frame->body === $msg) {
/* acknowledge that the frame was received */
$stomp->ack($frame);
}
/* remove the subscription */
$stomp->unsubscribe($queue);
/* close connection */
unset($stomp);
?>
Example #2
Procedural style
<?php
$queue = '/queue/foo';
$msg = 'bar';
/* connection */
$link = stomp_connect('ssl://localhost:61612');
/* check connection */
if (!$link) {
die('Connection failed: ' . stomp_connect_error());
}
/* begin a transaction */
stomp_begin($link, 't1');
/* send a message to the queue 'foo' */
stomp_send($link, $queue, $msg, array('transaction' => 't1'));
/* commit a transaction */
stomp_commit($link, 't1');
/* subscribe to messages from the queue 'foo' */
stomp_subscribe($link, $queue);
/* read a frame */
$frame = stomp_read_frame($link);
if ($frame['body'] === $msg) {
/* acknowledge that the frame was received */
stomp_ack($link, $frame['headers']['message-id']);
}
/* remove the subscription */
stomp_unsubscribe($link, $queue);
/* close connection */
stomp_close($link);
?>
PHP Documentation Group STOMP_ACK(3)